import java.util.concurrent.Executors;

class Point {
    private double x;
    private double y;
    private double l;
    private double a;

    public void setX(double x) {
        this.x = x;
    }

    public void setY(double y) {
        this.y = y;
    }

    public void setL(double l) {
        this.l = l;
    }

    public void setA(double a) {
        this.a = a;
    }
}

class PointFactory{
    public static Point PointByXY(double x, double y) {
        Point point = new Point();
        point.setX(x);
        point.setY(y);
        return point;
    }

    public static Point PointByLA(double l, double a) {
        Point point = new Point();
        point.setL(l);
        point.setA(a);
        return point;
    }
}

public class Demo2 {
    public static void main(String[] args) {
        Executors.newCachedThreadPool();
    }
}
